//统一管理咱们项目用户相关的接口
import request from '@/utils/request'
import type { userInfoResponseData } from './type'
//项目用户相关的请求地址
enum API {
  USERINFO_URL = '/user/info',
}
//获取用户信息
export const reqUserInfo = () =>
  request.get<any, userInfoResponseData>(API.USERINFO_URL)
